/* 
 * Since 2008 - 2012
 */
package com.hh.bss.sysadmin.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.sysadmin.dao.*;
import com.hh.bss.sysadmin.entity.*;
import com.hh.bss.sysadmin.service.*;
import com.hh.bss.sysadmin.vo.query.*;
import com.hh.bss.util.*;





public class SystemAuditLogQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 记录时间 */
	private java.util.Date logDtBegin;
	private java.util.Date logDtEnd;
	/** 操作人帐号 */
	private java.lang.String account;
	/** 子系统代码 */
	private java.lang.String moduleNbr;
	/** 子系统功能编号 */
	private java.lang.Integer resourceId;
	/** 操作类型 */
	private java.lang.String dmlType;
	/** 修改或者新增的对象转化为json格式存放 */
	private java.lang.String originalData;

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.util.Date getLogDtBegin() {
		return this.logDtBegin;
	}
	
	public void setLogDtBegin(java.util.Date value) {
		this.logDtBegin = value;
	}	
	
	public java.util.Date getLogDtEnd() {
		return this.logDtEnd;
	}
	
	public void setLogDtEnd(java.util.Date value) {
		this.logDtEnd = value;
	}
	
	public java.lang.String getAccount() {
		return this.account;
	}
	
	public void setAccount(java.lang.String value) {
		this.account = value;
	}
	
	public java.lang.String getModuleNbr() {
		return this.moduleNbr;
	}
	
	public void setModuleNbr(java.lang.String value) {
		this.moduleNbr = value;
	}
	
	public java.lang.Integer getResourceId() {
		return this.resourceId;
	}
	
	public void setResourceId(java.lang.Integer value) {
		this.resourceId = value;
	}
	
	public java.lang.String getDmlType() {
		return this.dmlType;
	}
	
	public void setDmlType(java.lang.String value) {
		this.dmlType = value;
	}
	
	public java.lang.String getOriginalData() {
		return this.originalData;
	}
	
	public void setOriginalData(java.lang.String value) {
		this.originalData = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

